<template>
    <div>
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item v-for="(item , index) in breadcrumbList" :key="index">
                {{item.name}}
            </el-breadcrumb-item>
        </el-breadcrumb>
    </div>
</template>
<script>
    export default{
        name:"breadcrumb",
        data(){
            return {
                
            }
        },
        methods:{},
        props:{
            // 传递的值
            breadcrumbList:{
                type:Array,
                default:()=>{
                    return []
                }
            }
        }
    }
</script>
